#{extends "main.html" /}
#{set title:"Aircraft SplitTemplate Binding" /}

<h3>${aircraft.getId()}</h3>

#{form @Bind.templates(aircraft.getId())}
<div class="form-group col-md-4">
    <label for="name" class="text-capitalize">name</label>
    <input class="form-control" type="text" name="name" value="${name}"/>
</div>
<div class="form-group col-md-4">
    <label for="name" >SMI</label>
    <input class="form-control" type="text" name="smi" value="${smi}"/>
</div>
<div class="form-group col-md-4">
    <label for="type" class="text-capitalize">type</label>
    <input class="form-control" type="text" type="name" value="${type}"/>
</div>

<p></p>
<input class="btn btn-primary col-md-3" type="submit" value="Filter" />
#{/form}
<p></p>

#{form @Bind.submitAircraft(aircraft.getId())}
<input class="btn btn-primary col-md-3" type="submit" name="addTemplates" value="Add" />
<p></p>

    #{ta014_table items:items, selection:true /}

#{/form}
